#ifndef __DFROBOT_GT5688_H
#define __DFROBOT_GT5688_H
//GT5688配置数组表
//x坐标输出最大值0x0320=800
//y坐标输出最大值0x01E0=480
//0x8050~0x813B  236个寄存器
//0x813C  0x813D校验和
//0x813E  配置更新标记
//数组组织方式
//1.寄存器起始地址0x8050
//2.数据个数
//0寄存器位数 1每个寄存器存的数据的位数 16bit-reg 8bit-data
//前5个数据为控制数据：寄存器位数，寄存器值位数、起始寄存器、配置数据个数
static const uint8_t PROGMEM touchGt5688ConfigTable[] = {
2,//1->寄存器为8位，2寄存器为16为，4寄存器为32位   0
1,//1->寄存器值为8位，2寄存器值为16为，4寄存器值为32位  1
0x80, 0x50,//寄存器起始地址0x8050 2 3
0x00, 0xEF,//配置数据的个数 total = 0x00EF  4 5
0x42,0x20,0x03,0xE0,0x01,0x05,0x3D,0x10,0x01,0x00,
	0x08,0x08,0x50,0x3C,0x53,0x11,0x00,0x00,0x00,0x00,
	0x14,0x14,0x14,0x22,0x08,0x04,0x00,0x00,0x00,0x00,
	0x3C,0x00,0x53,0x00,0x14,0x00,0x00,0x84,0x00,0x00,
	0x00,0x00,0x00,0x64,0x1E,0x1E,0x8A,0x2A,0x0C,0x3C,
	0x3E,0xF4,0x0A,0x20,0x33,0x60,0x12,0x02,0x24,0x00,
	0x00,0x32,0x64,0x00,0x14,0x02,0x00,0x00,0x54,0x80,
	0x35,0x7F,0x3D,0x7F,0x46,0x7F,0x51,0x7F,0x5D,0x7F,
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xF0,0x50,0x3C,
	0xBB,0xBB,0x07,0x00,0x00,0x00,0x02,0x0F,0x14,0x03,
	0x04,0x10,0x42,0xF8,0x0F,0x00,0x00,0x00,0x00,0x00,
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
	0x32,0x20,0x50,0x3C,0x3C,0x00,0x00,0x00,0x00,0x00,
	0x0D,0x06,0x0C,0x05,0x0B,0x04,0x0A,0x03,0x09,0x02,
	0x08,0x01,0xFF,0xFF,0x00,0x01,0x02,0x03,0x04,0x05,
	0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
	0x10,0x11,0x12,0x13,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
	0x00,0x00,0x00,0x00,0x3C,0x00,0x05,0x1E,0x00,0x02,
	0x2A,0x1E,0x19,0x14,0x02,0x00,0x03,0x0A,0x05,0x00,
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0x04,
	0x22,0x03,0x00,0x00,0x33,0x00,0x14,0x00,0x00,0x28,
	0x46,0x32,0x50,0x00,0x00,0x00,0xF9,0xBD,0x01
};


#endif